#ifndef X11_First
#define X11_First
#ifdef __GNUG__
#pragma interface
#endif

#define USG
#define __TYPES__

#define Font XFont
#define Region XRegion
#define Window XWindow
#define Time XTime

typedef char *caddr_t;

extern "C" {
#include "X11/Xlib.h"
#include "X11/Xutil.h"
#include "X11/Xresource.h"
#include "X11/Xatom.h"
#include "X11/keysym.h"
#include "X11/cursorfont.h"
};

#undef Time
#undef Bool
#undef Font
#undef Region
#undef Window
#undef IsCursorKey
#undef IsFunctionKey

#define XBool int
#define XFalse False
#define XTrue True
#define XDisplay Display
#define XCursor Cursor
#define XColormap Colormap

#endif

